package com.gaswell.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.gaswell.entity.Roleandperm;
import com.gaswell.mapper.RoleandpermMapper;
import com.gaswell.service.RoleandpermService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xiaow
 * @since 2022-09-16
 */
@Service
public class RoleandpermServiceImpl extends ServiceImpl<RoleandpermMapper, Roleandperm> implements RoleandpermService {

    @Override
    public List<Roleandperm> getByUserId(Long id) {
        return baseMapper.getByUserId(id);
    }
}
